using Magicodes.ExporterAndImporter.Core;
using Magicodes.ExporterAndImporter.Excel;
using Magicodes.IE.Core;
using OfficeOpenXml.Table;

namespace Admin.NET.Application;

/// <summary>
/// 电表用电量统计
/// </summary>
[ExcelExporter(Name = "电表用电量", TableStyle = TableStyles.None, AutoFitAllColumn = true)]
public class ExportMeterEnergyDto
{
	[ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "表号", IsBold = true)]
	public string sn { get; set; }

	[ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "表名", IsBold = true)]
	public string name { get; set; }

	[ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "总用电量", IsBold = true)]
	public decimal total { get; set; }

	[ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "尖时用电量", IsBold = true)]
	public decimal sharpTotal { get; set; }

	[ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "峰时用电量", IsBold = true)]
	public decimal peakTotal { get; set; }

	[ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "平时用电量", IsBold = true)]
	public decimal flatTotal { get; set; }

	[ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "谷时用电量", IsBold = true)]
	public decimal valleyTotal { get; set; }

	[ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "深谷时用电量", IsBold = true)]
	public decimal deepvalleyTotal { get; set; }

	/// <summary>
	/// 组合有功总电能（表显）
	/// </summary>
	[ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "冻结总电能", IsBold = true)]
	public decimal? FreezeCombinedActiveTotalElectricEnergy { get; set; }

	/// <summary>
	/// 组合有功尖电能（表显）
	/// </summary>
	[ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "冻结尖电能", IsBold = true)]
	public decimal? FreezeCombinedActiveSharpElectricEnergy { get; set; }

	/// <summary>
	/// 组合有功峰电能（表显）
	/// </summary>
	[ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "冻结峰电能", IsBold = true)]
	public decimal? FreezeCombinedActivePeakElectricEnergy { get; set; }

	/// <summary>
	/// 组合有功平电能（表显）
	/// </summary>
	[ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "冻结平电能", IsBold = true)]
	public decimal? FreezeCombinedActiveFlatElectricEnergy { get; set; }

	/// <summary>
	/// 组合有功谷电能（表显）
	/// </summary>
	[ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "冻结谷电能", IsBold = true)]
	public decimal? FreezeCombinedActiveValleyElectricEnergy { get; set; }

	/// <summary>
	/// 组合有功深谷电能（表显）
	/// </summary>
	[ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "冻结深谷电能", IsBold = true)]
	public decimal? FreezeCombinedActiveDeepValleyElectricEnergy { get; set; }

	[ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "费用", IsBold = true)]
	public decimal? amount { get; set; }

	[ExporterHeader(null, 11f, null, true, true, false, 0, KnownColor.Empty, DisplayName = "日期", IsBold = true)]
	public string date { get; set; }
}
